package com.cskaoyan.javase.oop3._1interface._4example.dao;

import com.cskaoyan.javase.oop3._1interface._4example.model.Goods;

/**
 * dao层,该层不写业务处理的逻辑,仅提供数据处理的操作
 *
 * 该接口对外提供数据处理的业务规范,标准
 * @since 11:04
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public interface IGoodsOperationDao {
    Goods[] getAllRealGoods();

    boolean judgeIdExist(int id);

    boolean insertGoodsIdNotRepeat(Goods goodsInsert);
}
